package com.qfedu.service;

import com.qfedu.model.Branch;
import com.qfedu.model.Project;
import com.qfedu.page.PageResult;
import com.qfedu.page.QueryPageBean;

import java.util.List;

/**
 * @author LiJH
 * @date 2023-02-10
 */
public interface BranchService {
    PageResult findPage(QueryPageBean queryPageBean);
    //添加
    int addBranch(Branch branch);
    //根据pid查询
    Branch findById(String bid);
    //修改
    int editBranch(Branch branch);
    //删除
    int deleteByPid(String bid);
    List<Branch> findByPid(int pid);
}
